package com.kalix.dataPlatform.right.dao;

import com.kalix.dataPlatform.right.api.dao.ILineChartTitleBeanDao;
import com.kalix.dataPlatform.right.entities.LineChartTitleBean;
import com.kalix.framework.core.impl.dao.GenericDao;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import java.util.UUID;

/**
 * 功能描述:
 *
 * @Description: 折线图标题数据访问
 * @Author: yyp
 * @CreateDate: 2019/6/12$ 10:59$
 * @Version:
 */
public class LineChartTitleBeanDaoImpl extends GenericDao<LineChartTitleBean, Long> implements ILineChartTitleBeanDao {
    private String uuid;
    public LineChartTitleBeanDaoImpl() {

        uuid = UUID.randomUUID().toString();
    }
    @Override
    @PersistenceContext(unitName = "right-unit")
    public void setEntityManager(EntityManager em) {
        super.setEntityManager(em);
    }
}
